
package com.zdkj.subway.support.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.support.dto.in.SwParamTicketPriceAreaDTO;
import com.zdkj.subway.support.dto.out.TicketPriceAreaDetailDTO;
import com.zdkj.subway.support.entity.SwParamTicketPriceArea;
import com.zdkj.subway.support.mapper.SwParamTicketPriceAreaMapper;
import com.zdkj.subway.support.service.SwParamTicketPriceAreaService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 票价收费区段
 *
 * @author cui_com
 * @date 2020-01-15 18:39:06
 */
@Service
@AllArgsConstructor
public class SwParamTicketPriceAreaServiceImpl extends ServiceImpl<SwParamTicketPriceAreaMapper, SwParamTicketPriceArea> implements SwParamTicketPriceAreaService {

    private SwParamTicketPriceAreaMapper swParamTicketPriceAreaMapper;

    @Override
    public IPage<TicketPriceAreaDetailDTO> queryDetailByPage(
            IPage page,
            Wrapper queryWrapper) {
        return swParamTicketPriceAreaMapper.queryDetailByPage(page, queryWrapper);
    }
}
